﻿namespace B.S.BasicData.API.Read.DTOS.UserRoleMenu
{
    /// <summary>
    /// 菜单DTO
    /// </summary>
    public class MenuDTO
    {
        /// <summary>
        /// 菜单Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MenuName { get; set; }
        /// <summary>
        /// 路由
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 父级Id
        /// </summary>
        public int P_ID { get; set; }
        /// <summary>
        /// 父级名称
        /// </summary> 
        public string PName { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int PaiXu { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateDate { get; set; }
        /// <summary>
        /// 下级集合
        /// </summary>
        public List<MenuDTO> Children { get; set; }
    }
}
